package com.hua.service;

import com.hua.mapper.UserDepartMapper;
import com.hua.pojo.Department;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserDepartImpl implements UserDepart{ @Autowired
   UserDepartMapper mapper;
    @Override
    public List<Department> getAllDepart() {
        return mapper.getAllDepart();
    }
}
